package com.ruiyian.bridge.info.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruiyian.common.annotation.Excel;
import com.ruiyian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;


/**
 * @Description: 激光测距数据
 * @Author: jeecg-boot
 * @Date:   2020-08-25
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("t_distance_info")
public class DistanceInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**数据id*/
	@TableId(type = IdType.ASSIGN_UUID)
    private String id;
	/**激光测距值*/
	@Excel(name = "激光测距值", width = 15)
    private String distance;
	/**监测时间*/
	@Excel(name = "监测时间", width = 15)
	@JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    private java.util.Date creattime;
	/**设备地址*/
	@Excel(name = "设备地址", width = 15)
    private String addr;
	/**设备所属站点地址*/
	@Excel(name = "设备所属站点地址", width = 15)
    private String macaddr;

    private String deflection;

}
